class Firm < ActiveRecord::Base
  def image_file=(input_data) 
    self.filename = input_data.original_filename 
    self.content_type = input_data.content_type.chomp 
    self.picture = input_data.read 
  end 
end
